﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApp2
{
    class Student
    {
        public string stuName;//(学生姓名)
        public int stuAge;//(学生年龄)
        public string stuSex;//(学生性别)
        static int tcAge=18;//(共青团员退团年龄)
        public Student(string stuName, int stuAge, string stuSex)
        {
            this.stuName = stuName;
            this.stuAge = stuAge;
            this.stuSex = stuSex;
        }
        public Student()
        {

        }
        public void SayHello()
        {
            Console.WriteLine("学生姓名:{0}\n学生年龄:{1}\n学生性别:{2}\n共青团员退团年龄:{3}", stuName,stuAge,stuSex,tcAge);
        }
    }
}
